import { axios as request } from '@/utils/request'

// 查询部门/岗位下所有人员
export function getListByDeptOrPosition(params) {
  return request({
    url: `/user/query`,
    method: 'get',
    params
  })
}

// 主键查询
export function getInfoById(id) {
  return request({
    url: `/user/get/${id}`,
    method: 'get'
  })
}

